package Month4;

import java.util.ArrayList;
import java.util.Collection;
import java.util.Collections;
import java.util.Random;

public class a20250416A
{
    public static void main(String[] args)
    {
        ArrayList<String> arr = new ArrayList<>();

        for (int i = 0; i < 2; i++)
        {
            dianMing(arr);
        }




//        ArrayList<Integer> genderChou = new ArrayList<>();
//        for (int i = 0; i < 1; i++)
//        {
//            Collections.addAll(genderChou,1);
//        }
//        for (int i = 0; i < 1; i++)
//        {
//            Collections.addAll(genderChou,0);
//        }
//
//        Collections.shuffle(genderChou);
//        System.out.println(genderChou);
//        Random r= new Random();
//        int temp = r.nextInt(arr.size());
//        System.out.println(arr.get(temp));
    }
    public static void dianMing(ArrayList<String> c)
    {
        Collections.addAll(c,"芜柒","王梧","枫篁","岚笙");
        Collections.shuffle(c);
        //写一个删一个实现不重复点名
        while(c.size()>0 )
        {
            String name = c.get(0);
            System.out.println(c.get(0));
            c.remove(name);
        }
        System.out.println();
    }
}
